package cn.myzf.tplink.model;

import java.util.List;

/**
 * @package cn.myzf.tplink.model
 * @Date Created in 2019/2/19 12:22
 * @Author myzf
 */
public class DeviceStatus {


	/**
	 * hosts_info : {"host_info":[{"host_info_1":{"up_limit":"0","type":"1","ssid":"TP-LINK_5G_E486","plan_rule":[],"mac":"50-2B-73-DB-5E-9B","up_speed":"3201","ip":"192.168.0.116","wifi_mode":"1","is_cur_host":"1","cfg_valid":"0","hostname":"PC-201902030000%20","down_limit":"0","ifname":"rai0","blocked":"0","down_speed":"1906"},"host_info_2":{"up_limit":"0","type":"1","ssid":"TP-LINK_E486","plan_rule":[],"mac":"A0-F4-59-A6-7E-04","up_speed":"0","ip":"192.168.0.103","wifi_mode":"0","is_cur_host":"0","cfg_valid":"1","hostname":"C2-470215298%20","down_limit":"0","ifname":"ra0","blocked":"0","down_speed":"0"}},{"host_info_2":{"up_limit":"0","type":"1","ssid":"TP-LINK_E486","plan_rule":[],"mac":"A0-F4-59-A6-7E-04","up_speed":"0","ip":"192.168.0.103","wifi_mode":"0","is_cur_host":"0","cfg_valid":"1","hostname":"C2-470215298%20","down_limit":"0","ifname":"ra0","blocked":"0","down_speed":"0"}}]}
	 * error_code : 0
	 */

	private List<HostInfoDetail> hostInfoDetailList;
	private int error_code;

	public List<HostInfoDetail> getHostInfoDetailList() {
		return hostInfoDetailList;
	}

	public void setHostInfoDetailList(List<HostInfoDetail> hostInfoDetailList) {
		this.hostInfoDetailList = hostInfoDetailList;
	}

	public int getError_code() {
		return error_code;
	}

	public void setError_code(int error_code) {
		this.error_code = error_code;
	}

	@Override
	public String toString() {
		return "DeviceStatus{" +
				"hostInfoDetailList=" + hostInfoDetailList +
				", error_code=" + error_code +
				'}';
	}
}
